'''
Created on Nov 10, 2012

@author: petrina
'''

import unittest
import sys
sys.path.append('unittests')

modules_to_test = (
'test_agg_record',
'test_buffer_index',
'test_buffer_time',
'test_buffer_speed_index',
'test_buffer_speed',
'test_buffer_time',
'test_correlation_coefficient',
'test_indiutils',
'test_interval_list',
'test_link',
'test_linkset',
'test_mean_error',
'test_mean_squared_error',
'test_network_completeness',
'test_planning_time_index',
'test_planning_time',
'test_record_list',
'test_stddev_absdiff',
'test_stddev_estimated',
'test_stddev_observed',
'test_total_correlation_coefficient',
'test_total_mean_error',
'test_total_mean_squared_error',
'test_variation_speeds'
#,
#'test_',
#'test_',
#'test_',
)

def suite():
    alltests = unittest.TestSuite()
    for module in map(__import__, modules_to_test):
        alltests.addTest(unittest.findTestCases(module))
    
    return alltests

if __name__ == '__main__':
    unittest.main(defaultTest='suite')
